package com.cn.serverline.lineicp.produce.entity;

import cn.hutool.core.date.DateTime;
import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 异常上报表
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TE_EXCEPTION_SECALATION")
@ApiModel(value="TeExceptionSecalation对象", description="异常上报表")
public class TeExceptionSecalation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID",type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "生产执行ID")
    private Long processDescriptionId;

    @ApiModelProperty(value = "异常类型ID")
    private Long exceptionId;

    @ApiModelProperty(value = "处理人名字")
    private String processedByName;

    @ApiModelProperty(value = "处理人ID")
    private Long processedById;

    @ApiModelProperty(value = "处理状态(0:未处理，1处理中，2已处理）")
    private Long processedStatus;

    @ApiModelProperty(value = "计划处理时间")
    private Date processedTime;

    @ApiModelProperty(value = "工艺阶段(0部装，1总装)")
    private Long operationStage;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    @ApiModelProperty(value = "操作人名字")
    private String userName;

    @ApiModelProperty(value = "操作人ID")
    private Long userId;


}
